package com.jgjc.service.serviceImpl;

import com.jgjc.dao.BridgeTrashDao;
import com.jgjc.service.BridgeTrashService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class BridgeTrashServiceImpl implements BridgeTrashService {

    @Resource
    private BridgeTrashDao bridgeTrashDao;

    @Override
    public List<Map<String, Object>> getTrashBridgeList() {
        return bridgeTrashDao.getTrashBridgeList();
    }

    @Override
    public int restore(int id) {
        return bridgeTrashDao.restore(id);
    }
}
